
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module wcsclass</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>wcsclass</strong></big></big> (version 1.0.3)</font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/meurer/ACS/Pipeline/Apsis/apsis-4.2.4/python/utils/wcsclass.py">/home/meurer/ACS/Pipeline/Apsis/apsis-4.2.4/python/utils/wcsclass.py</a></font></td></tr></table>
    <p><tt>License<br>
=======<br>
&nbsp;<br>
Copyright&nbsp;(c)&nbsp;2009,&nbsp;The&nbsp;Johns&nbsp;Hopkins&nbsp;University<br>
&nbsp;<br>
All&nbsp;rights&nbsp;reserved.<br>
&nbsp;<br>
Redistribution&nbsp;and&nbsp;use&nbsp;in&nbsp;source&nbsp;and&nbsp;binary&nbsp;forms,&nbsp;with&nbsp;or&nbsp;without<br>
modification,&nbsp;are&nbsp;permitted&nbsp;provided&nbsp;that&nbsp;the&nbsp;following&nbsp;conditions&nbsp;are&nbsp;met:<br>
&nbsp;<br>
Redistributions&nbsp;of&nbsp;source&nbsp;code&nbsp;must&nbsp;retain&nbsp;the&nbsp;above&nbsp;copyright&nbsp;notice,&nbsp;this<br>
list&nbsp;of&nbsp;conditions&nbsp;and&nbsp;the&nbsp;following&nbsp;disclaimer.&nbsp;&nbsp;Redistributions&nbsp;in&nbsp;binary<br>
form&nbsp;must&nbsp;reproduce&nbsp;the&nbsp;above&nbsp;copyright&nbsp;notice,&nbsp;this&nbsp;list&nbsp;of&nbsp;conditions&nbsp;and<br>
the&nbsp;following&nbsp;disclaimer&nbsp;in&nbsp;the&nbsp;documentation&nbsp;and/or&nbsp;other&nbsp;materials&nbsp;provided<br>
with&nbsp;the&nbsp;distribution.&nbsp;&nbsp;Neither&nbsp;the&nbsp;name&nbsp;of&nbsp;the&nbsp;Johns&nbsp;Hopkins&nbsp;University&nbsp;nor<br>
the&nbsp;names&nbsp;of&nbsp;its&nbsp;contributors&nbsp;may&nbsp;be&nbsp;used&nbsp;to&nbsp;endorse&nbsp;or&nbsp;promote&nbsp;products<br>
derived&nbsp;from&nbsp;this&nbsp;software&nbsp;without&nbsp;specific&nbsp;prior&nbsp;written&nbsp;permission.<br>
&nbsp;<br>
THIS&nbsp;SOFTWARE&nbsp;IS&nbsp;PROVIDED&nbsp;BY&nbsp;THE&nbsp;COPYRIGHT&nbsp;HOLDERS&nbsp;AND&nbsp;CONTRIBUTORS&nbsp;'AS<br>
IS'&nbsp;AND&nbsp;ANY&nbsp;EXPRESS&nbsp;OR&nbsp;IMPLIED&nbsp;WARRANTIES,&nbsp;INCLUDING,&nbsp;BUT&nbsp;NOT&nbsp;LIMITED<br>
TO,&nbsp;THE&nbsp;IMPLIED&nbsp;WARRANTIES&nbsp;OF&nbsp;MERCHANTABILITY&nbsp;AND&nbsp;FITNESS&nbsp;FOR&nbsp;A<br>
PARTICULAR&nbsp;PURPOSE&nbsp;ARE&nbsp;DISCLAIMED.&nbsp;IN&nbsp;NO&nbsp;EVENT&nbsp;SHALL&nbsp;THE&nbsp;COPYRIGHT<br>
HOLDER&nbsp;OR&nbsp;CONTRIBUTORS&nbsp;BE&nbsp;LIABLE&nbsp;FOR&nbsp;ANY&nbsp;DIRECT,&nbsp;INDIRECT,&nbsp;INCIDENTAL,<br>
SPECIAL,&nbsp;EXEMPLARY,&nbsp;OR&nbsp;CONSEQUENTIAL&nbsp;DAMAGES&nbsp;(INCLUDING,&nbsp;BUT&nbsp;NOT&nbsp;LIMITED<br>
TO,&nbsp;PROCUREMENT&nbsp;OF&nbsp;SUBSTITUTE&nbsp;GOODS&nbsp;OR&nbsp;SERVICES;&nbsp;LOSS&nbsp;OF&nbsp;USE,&nbsp;DATA,&nbsp;OR<br>
PROFITS;&nbsp;OR&nbsp;BUSINESS&nbsp;INTERRUPTION)&nbsp;HOWEVER&nbsp;CAUSED&nbsp;AND&nbsp;ON&nbsp;ANY&nbsp;THEORY&nbsp;OF<br>
LIABILITY,&nbsp;WHETHER&nbsp;IN&nbsp;CONTRACT,&nbsp;STRICT&nbsp;LIABILITY,&nbsp;OR&nbsp;TORT&nbsp;(INCLUDING<br>
NEGLIGENCE&nbsp;OR&nbsp;OTHERWISE)&nbsp;ARISING&nbsp;IN&nbsp;ANY&nbsp;WAY&nbsp;OUT&nbsp;OF&nbsp;THE&nbsp;USE&nbsp;OF&nbsp;THIS<br>
SOFTWARE,&nbsp;EVEN&nbsp;IF&nbsp;ADVISED&nbsp;OF&nbsp;THE&nbsp;POSSIBILITY&nbsp;OF&nbsp;SUCH&nbsp;DAMAGE.<br>
&nbsp;<br>
(This&nbsp;license&nbsp;is&nbsp;based&nbsp;on&nbsp;the&nbsp;BSD&nbsp;license<br>
&nbsp;<a href="http://www.opensource.org/licenses/bsd-license.html">http://www.opensource.org/licenses/bsd-license.html</a>)</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="numpy.add_newdocs.html">numpy.add_newdocs</a><br>
<a href="numpy.core.defchararray.html">numpy.core.defchararray</a><br>
<a href="numpy.ctypeslib.html">numpy.ctypeslib</a><br>
</td><td width="25%" valign=top><a href="numpy.lib.scimath.html">numpy.lib.scimath</a><br>
<a href="numpy.fft.html">numpy.fft</a><br>
<a href="numpy.linalg.html">numpy.linalg</a><br>
</td><td width="25%" valign=top><a href="numpy.core.ma.html">numpy.core.ma</a><br>
<a href="math.html">math</a><br>
<a href="matutil.html">matutil</a><br>
</td><td width="25%" valign=top><a href="numpy.random.html">numpy.random</a><br>
<a href="numpy.core.records.html">numpy.core.records</a><br>
<a href="sys.html">sys</a><br>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="wcsclass.html#BasicWCS">BasicWCS</a>
</font></dt><dt><font face="helvetica, arial"><a href="wcsclass.html#idcWCS">idcWCS</a>
</font></dt></dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="BasicWCS">class <strong>BasicWCS</strong></a></font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;class&nbsp;to&nbsp;encapsulate&nbsp;the&nbsp;basic&nbsp;WCS&nbsp;information&nbsp;from&nbsp;an&nbsp;image&nbsp;header.<br>
The&nbsp;class&nbsp;contains&nbsp;the&nbsp;following&nbsp;methods:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#BasicWCS-update">update</a>(pscale,orient,refpos,refval,size)&nbsp;&nbsp;#&nbsp;all&nbsp;pars&nbsp;default&nbsp;to&nbsp;None<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#BasicWCS-xy2rd">xy2rd</a>(xypos)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#BasicWCS-rd2xy">rd2xy</a>(skypos,hour=0)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rotateWCS(orient)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#BasicWCS-wcsprint">wcsprint</a>()<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#BasicWCS-copy2header">copy2header</a>(header)<br>
These&nbsp;allow&nbsp;the&nbsp;user&nbsp;to&nbsp;change&nbsp;wcs&nbsp;information,&nbsp;convert&nbsp;from&nbsp;x,y&nbsp;pos<br>
to&nbsp;sky&nbsp;pos&nbsp;and&nbsp;back&nbsp;again;&nbsp;rotate&nbsp;the&nbsp;wcs&nbsp;matrix;&nbsp;copy&nbsp;the&nbsp;wcs&nbsp;to&nbsp;another<br>
image&nbsp;header.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="BasicWCS-__init__"><strong>__init__</strong></a>(self, header, shape<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="BasicWCS-copy2header"><strong>copy2header</strong></a>(self, header)</dt><dd><tt>Copies&nbsp;the&nbsp;wcs&nbsp;keywords&nbsp;from&nbsp;a&nbsp;wcs&nbsp;object&nbsp;to&nbsp;a&nbsp;given&nbsp;header</tt></dd></dl>

<dl><dt><a name="BasicWCS-help"><strong>help</strong></a>(self)</dt></dl>

<dl><dt><a name="BasicWCS-rd2xy"><strong>rd2xy</strong></a>(self, skypos, hour<font color="#909090">=0</font>)</dt><dd><tt>This&nbsp;method&nbsp;would&nbsp;use&nbsp;the&nbsp;WCS&nbsp;keywords&nbsp;to&nbsp;compute&nbsp;the&nbsp;XY&nbsp;position<br>
from&nbsp;a&nbsp;given&nbsp;RA/Dec&nbsp;tuple&nbsp;(in&nbsp;deg).&nbsp;&nbsp;Again,&nbsp;from&nbsp;Warren.</tt></dd></dl>

<dl><dt><a name="BasicWCS-update"><strong>update</strong></a>(self, pscale<font color="#909090">=None</font>, orient<font color="#909090">=None</font>, refpos<font color="#909090">=None</font>, refval<font color="#909090">=None</font>, size<font color="#909090">=None</font>)</dt><dd><tt>Update&nbsp;the&nbsp;WCS&nbsp;parameters:&nbsp;orient,&nbsp;refpos,&nbsp;refval,&nbsp;size<br>
Create&nbsp;a&nbsp;new&nbsp;CD&nbsp;Matrix&nbsp;from&nbsp;the&nbsp;absolute&nbsp;pixel&nbsp;scale&nbsp;<br>
and&nbsp;reference&nbsp;image&nbsp;orientation.&nbsp;&nbsp;The&nbsp;resulting&nbsp;CD&nbsp;matrix<br>
rotation&nbsp;is&nbsp;only&nbsp;right&nbsp;if&nbsp;there's&nbsp;no&nbsp;distortion,&nbsp;so&nbsp;the<br>
same&nbsp;pixel&nbsp;scale&nbsp;in&nbsp;both&nbsp;directions,&nbsp;etc.</tt></dd></dl>

<dl><dt><a name="BasicWCS-wcsprint"><strong>wcsprint</strong></a>(self)</dt></dl>

<dl><dt><a name="BasicWCS-xy2rd"><strong>xy2rd</strong></a>(self, xypos)</dt><dd><tt>Apply&nbsp;the&nbsp;CDi_j&nbsp;keywords&nbsp;to&nbsp;a&nbsp;position&nbsp;to&nbsp;generate&nbsp;a&nbsp;new&nbsp;sky&nbsp;position.<br>
This&nbsp;is&nbsp;from&nbsp;Warren,&nbsp;who&nbsp;says&nbsp;it&nbsp;comes&nbsp;directly&nbsp;from&nbsp;'imgtools.xy2rd'<br>
translate&nbsp;(x,y)&nbsp;to&nbsp;(ra,&nbsp;dec)</tt></dd></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="idcWCS">class <strong>idcWCS</strong></a></font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;WCS&nbsp;class&nbsp;containing&nbsp;the&nbsp;PVi_j&nbsp;keywords&nbsp;(among&nbsp;other&nbsp;stuff).<br>
This&nbsp;is&nbsp;not&nbsp;a&nbsp;subclass&nbsp;of&nbsp;<a href="#BasicWCS">BasicWCS</a>&nbsp;because&nbsp;that&nbsp;had&nbsp;unwanted&nbsp;side&nbsp;effects.<br>
The&nbsp;constructor&nbsp;gets&nbsp;a&nbsp;<a href="#BasicWCS">BasicWCS</a>&nbsp;object,&nbsp;rather&nbsp;than&nbsp;a&nbsp;header&nbsp;object.<br>
The&nbsp;MaxPV&nbsp;optional&nbsp;parameter&nbsp;allows&nbsp;the&nbsp;user&nbsp;to&nbsp;limit&nbsp;the&nbsp;number&nbsp;of&nbsp;PV,<br>
with&nbsp;the&nbsp;default&nbsp;being&nbsp;11&nbsp;for&nbsp;cubic&nbsp;transformations,&nbsp;as&nbsp;in&nbsp;the&nbsp;case&nbsp;of<br>
the&nbsp;IDC&nbsp;transformation.&nbsp;&nbsp;The&nbsp;methods&nbsp;of&nbsp;this&nbsp;class&nbsp;are&nbsp;*not*&nbsp;general&nbsp;--<br>
they&nbsp;expect&nbsp;the&nbsp;terms&nbsp;found&nbsp;in&nbsp;the&nbsp;IDCTAB,&nbsp;thus&nbsp;the&nbsp;name&nbsp;of&nbsp;the&nbsp;class.<br>
&nbsp;<br>
The&nbsp;constructor&nbsp;does&nbsp;the&nbsp;following&nbsp;steps:<br>
&nbsp;&nbsp;&nbsp;1.&nbsp;Copies&nbsp;over&nbsp;the&nbsp;WCS&nbsp;keywords&nbsp;from&nbsp;the&nbsp;input&nbsp;baseWCS.<br>
&nbsp;&nbsp;&nbsp;2.&nbsp;Reads&nbsp;the&nbsp;distortion&nbsp;solution&nbsp;from&nbsp;the&nbsp;IDCTAB&nbsp;and&nbsp;checks<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;that&nbsp;things&nbsp;are&nbsp;as&nbsp;expected.<br>
&nbsp;&nbsp;&nbsp;3.&nbsp;Determines&nbsp;the&nbsp;change&nbsp;in&nbsp;ORIENTAT&nbsp;produced&nbsp;in&nbsp;applying&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;de-distortion&nbsp;transformation;&nbsp;updates&nbsp;ORIENTAT&nbsp;key.<br>
&nbsp;&nbsp;&nbsp;4.&nbsp;Translates&nbsp;the&nbsp;reference&nbsp;pixel:&nbsp;set&nbsp;the&nbsp;new&nbsp;CRPIX&nbsp;to&nbsp;be<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;IDC&nbsp;REF&nbsp;pix,&nbsp;and&nbsp;determine&nbsp;it's&nbsp;RA,Dec&nbsp;from&nbsp;that&nbsp;of<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;old&nbsp;CRPIX;&nbsp;update&nbsp;CRVAL&nbsp;to&nbsp;be&nbsp;these&nbsp;RA,Dec&nbsp;coords.<br>
&nbsp;&nbsp;&nbsp;5.&nbsp;Constructs&nbsp;the&nbsp;PVi_k&nbsp;distortion&nbsp;keywords.<br>
&nbsp;<br>
The&nbsp;copy2header&nbsp;method&nbsp;then&nbsp;allows&nbsp;you&nbsp;to&nbsp;copy&nbsp;the&nbsp;revised&nbsp;WCS<br>
information&nbsp;to&nbsp;the&nbsp;image&nbsp;header.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="idcWCS-__init__"><strong>__init__</strong></a>(self, baseWCS, idcfile, chipID, MaxPV<font color="#909090">=None</font>, identCD<font color="#909090">=0</font>)</dt></dl>

<dl><dt><a name="idcWCS-copy2header"><strong>copy2header</strong></a>(self, header, cnpix<font color="#909090">=0</font>)</dt><dd><tt>Copy&nbsp;the&nbsp;wcs&nbsp;keywords&nbsp;from&nbsp;a&nbsp;<a href="#idcWCS">idcWCS</a>&nbsp;object&nbsp;to&nbsp;a&nbsp;given&nbsp;header.</tt></dd></dl>

<dl><dt><a name="idcWCS-help"><strong>help</strong></a>(self)</dt></dl>

<dl><dt><a name="idcWCS-update"><strong>update</strong></a>(self, refpos<font color="#909090">=None</font>, refval<font color="#909090">=None</font>, size<font color="#909090">=None</font>)</dt><dd><tt>Update&nbsp;the&nbsp;WCS&nbsp;parameters:&nbsp;&nbsp;refpos,&nbsp;refval,&nbsp;size<br>
This&nbsp;is&nbsp;a&nbsp;much&nbsp;more&nbsp;limited&nbsp;update&nbsp;routine,&nbsp;basically&nbsp;allowing<br>
only&nbsp;changes&nbsp;in&nbsp;reference&nbsp;position&nbsp;and&nbsp;values,&nbsp;than&nbsp;that<br>
of&nbsp;the&nbsp;<a href="#BasicWCS">BasicWCS</a>&nbsp;superclass.&nbsp;&nbsp;The&nbsp;reason&nbsp;is&nbsp;that&nbsp;any&nbsp;change<br>
of&nbsp;scale&nbsp;or&nbsp;rotation&nbsp;changes&nbsp;all&nbsp;N&nbsp;header&nbsp;distortion&nbsp;keywords.</tt></dd></dl>

<dl><dt><a name="idcWCS-wcsprint"><strong>wcsprint</strong></a>(self)</dt></dl>

<dl><dt><a name="idcWCS-xy2rd"><strong>xy2rd</strong></a>(self, xypos)</dt><dd><tt>Apply&nbsp;the&nbsp;WCS&nbsp;keywords,&nbsp;INCLUDING&nbsp;PV&nbsp;DISTORTION&nbsp;COEFFICIENTS<br>
to&nbsp;an&nbsp;x,y&nbsp;position&nbsp;to&nbsp;generate&nbsp;a&nbsp;new&nbsp;sky&nbsp;position.</tt></dd></dl>

</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
    
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-add_docstring"><strong>add_docstring</strong></a>(...)</dt><dd><tt>docstring(obj,&nbsp;docstring)<br>
&nbsp;<br>
Add&nbsp;a&nbsp;docstring&nbsp;to&nbsp;a&nbsp;built-in&nbsp;obj&nbsp;if&nbsp;possible.<br>
If&nbsp;the&nbsp;obj&nbsp;already&nbsp;has&nbsp;a&nbsp;docstring&nbsp;raise&nbsp;a&nbsp;RuntimeError<br>
If&nbsp;this&nbsp;routine&nbsp;does&nbsp;not&nbsp;know&nbsp;how&nbsp;to&nbsp;add&nbsp;a&nbsp;docstring&nbsp;to&nbsp;the&nbsp;object<br>
raise&nbsp;a&nbsp;TypeError</tt></dd></dl>
 <dl><dt><a name="-arange"><strong>arange</strong></a>(...)</dt><dd><tt><a href="#-arange">arange</a>([start,]&nbsp;stop[,&nbsp;step,],&nbsp;dtype=None)<br>
&nbsp;<br>
For&nbsp;integer&nbsp;arguments,&nbsp;just&nbsp;like&nbsp;range()&nbsp;except&nbsp;it&nbsp;returns&nbsp;an&nbsp;array<br>
whose&nbsp;type&nbsp;can&nbsp;be&nbsp;specified&nbsp;by&nbsp;the&nbsp;keyword&nbsp;argument&nbsp;dtype.&nbsp;&nbsp;If&nbsp;dtype<br>
is&nbsp;not&nbsp;specified,&nbsp;the&nbsp;type&nbsp;of&nbsp;the&nbsp;result&nbsp;is&nbsp;deduced&nbsp;from&nbsp;the&nbsp;type&nbsp;of<br>
the&nbsp;arguments.<br>
&nbsp;<br>
For&nbsp;floating&nbsp;point&nbsp;arguments,&nbsp;the&nbsp;length&nbsp;of&nbsp;the&nbsp;result&nbsp;is&nbsp;ceil((stop&nbsp;-<br>
start)/step).&nbsp;&nbsp;This&nbsp;rule&nbsp;may&nbsp;result&nbsp;in&nbsp;the&nbsp;last&nbsp;element&nbsp;of&nbsp;the&nbsp;result<br>
being&nbsp;greater&nbsp;than&nbsp;stop.</tt></dd></dl>
 <dl><dt><a name="-array"><strong>array</strong></a>(...)</dt><dd><tt><a href="#-array">array</a>(object,&nbsp;dtype=None,&nbsp;copy=1,order=None,&nbsp;subok=0,ndmin=0)<br>
&nbsp;<br>
Return&nbsp;an&nbsp;array&nbsp;from&nbsp;object&nbsp;with&nbsp;the&nbsp;specified&nbsp;date-type.<br>
&nbsp;<br>
Inputs:<br>
&nbsp;&nbsp;object&nbsp;-&nbsp;an&nbsp;array,&nbsp;any&nbsp;object&nbsp;exposing&nbsp;the&nbsp;array&nbsp;interface,&nbsp;any<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;object&nbsp;whose&nbsp;__array__&nbsp;method&nbsp;returns&nbsp;an&nbsp;array,&nbsp;or&nbsp;any<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(nested)&nbsp;sequence.<br>
&nbsp;&nbsp;dtype&nbsp;&nbsp;-&nbsp;The&nbsp;desired&nbsp;data-type&nbsp;for&nbsp;the&nbsp;array.&nbsp;&nbsp;If&nbsp;not&nbsp;given,&nbsp;then<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;type&nbsp;will&nbsp;be&nbsp;determined&nbsp;as&nbsp;the&nbsp;minimum&nbsp;type&nbsp;required<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to&nbsp;hold&nbsp;the&nbsp;objects&nbsp;in&nbsp;the&nbsp;sequence.&nbsp;&nbsp;This&nbsp;argument&nbsp;can&nbsp;only<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;be&nbsp;used&nbsp;to&nbsp;'upcast'&nbsp;the&nbsp;array.&nbsp;&nbsp;For&nbsp;downcasting,&nbsp;use&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.astype(t)&nbsp;method.<br>
&nbsp;&nbsp;copy&nbsp;&nbsp;&nbsp;-&nbsp;If&nbsp;true,&nbsp;then&nbsp;force&nbsp;a&nbsp;copy.&nbsp;&nbsp;Otherwise&nbsp;a&nbsp;copy&nbsp;will&nbsp;only&nbsp;occur<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;__array__&nbsp;returns&nbsp;a&nbsp;copy,&nbsp;obj&nbsp;is&nbsp;a&nbsp;nested&nbsp;sequence,&nbsp;or<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a&nbsp;copy&nbsp;is&nbsp;needed&nbsp;to&nbsp;satisfy&nbsp;any&nbsp;of&nbsp;the&nbsp;other&nbsp;requirements<br>
&nbsp;&nbsp;order&nbsp;&nbsp;-&nbsp;Specify&nbsp;the&nbsp;order&nbsp;of&nbsp;the&nbsp;array.&nbsp;&nbsp;If&nbsp;order&nbsp;is&nbsp;'C',&nbsp;then&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;array&nbsp;will&nbsp;be&nbsp;in&nbsp;C-contiguous&nbsp;order&nbsp;(last-index&nbsp;varies&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastest).&nbsp;&nbsp;If&nbsp;order&nbsp;is&nbsp;'FORTRAN',&nbsp;then&nbsp;the&nbsp;returned&nbsp;array<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;will&nbsp;be&nbsp;in&nbsp;Fortran-contiguous&nbsp;order&nbsp;(first-index&nbsp;varies&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastest).&nbsp;&nbsp;If&nbsp;order&nbsp;is&nbsp;None,&nbsp;then&nbsp;the&nbsp;returned&nbsp;array&nbsp;may<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;be&nbsp;in&nbsp;either&nbsp;C-,&nbsp;or&nbsp;Fortran-contiguous&nbsp;order&nbsp;or&nbsp;even<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;discontiguous.<br>
&nbsp;&nbsp;subok&nbsp;&nbsp;-&nbsp;If&nbsp;True,&nbsp;then&nbsp;sub-classes&nbsp;will&nbsp;be&nbsp;passed-through,&nbsp;otherwise<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;returned&nbsp;array&nbsp;will&nbsp;be&nbsp;forced&nbsp;to&nbsp;be&nbsp;a&nbsp;base-class&nbsp;array<br>
&nbsp;&nbsp;ndmin&nbsp;&nbsp;-&nbsp;Specifies&nbsp;the&nbsp;minimum&nbsp;number&nbsp;of&nbsp;dimensions&nbsp;that&nbsp;the&nbsp;resulting<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;array&nbsp;should&nbsp;have.&nbsp;&nbsp;1's&nbsp;will&nbsp;be&nbsp;pre-pended&nbsp;to&nbsp;the&nbsp;shape&nbsp;as<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;needed&nbsp;to&nbsp;meet&nbsp;this&nbsp;requirement.</tt></dd></dl>
 <dl><dt><a name="-bincount"><strong>bincount</strong></a>(...)</dt><dd><tt><a href="#-bincount">bincount</a>(x,weights=None)<br>
&nbsp;<br>
Return&nbsp;the&nbsp;number&nbsp;of&nbsp;occurrences&nbsp;of&nbsp;each&nbsp;value&nbsp;in&nbsp;x.<br>
&nbsp;<br>
x&nbsp;must&nbsp;be&nbsp;a&nbsp;list&nbsp;of&nbsp;non-negative&nbsp;integers.&nbsp;&nbsp;The&nbsp;output,&nbsp;b[i],<br>
represents&nbsp;the&nbsp;number&nbsp;of&nbsp;times&nbsp;that&nbsp;i&nbsp;is&nbsp;found&nbsp;in&nbsp;x.&nbsp;&nbsp;If&nbsp;weights<br>
is&nbsp;specified,&nbsp;every&nbsp;occurrence&nbsp;of&nbsp;i&nbsp;at&nbsp;a&nbsp;position&nbsp;p&nbsp;contributes<br>
weights[p]&nbsp;instead&nbsp;of&nbsp;1.<br>
&nbsp;<br>
See&nbsp;also:&nbsp;histogram,&nbsp;digitize,&nbsp;unique.</tt></dd></dl>
 <dl><dt><a name="-can_cast"><strong>can_cast</strong></a>(...)</dt><dd><tt><a href="#-can_cast">can_cast</a>(from=d1,&nbsp;to=d2)<br>
&nbsp;<br>
Returns&nbsp;True&nbsp;if&nbsp;data&nbsp;type&nbsp;d1&nbsp;can&nbsp;be&nbsp;cast&nbsp;to&nbsp;data&nbsp;type&nbsp;d2&nbsp;without<br>
losing&nbsp;precision.</tt></dd></dl>
 <dl><dt><a name="-compare_chararrays"><strong>compare_chararrays</strong></a>(...)</dt></dl>
 <dl><dt><a name="-concatenate"><strong>concatenate</strong></a>(...)</dt><dd><tt><a href="#-concatenate">concatenate</a>((a1,&nbsp;a2,&nbsp;...),&nbsp;axis=0)<br>
&nbsp;<br>
Join&nbsp;arrays&nbsp;together.<br>
&nbsp;<br>
The&nbsp;tuple&nbsp;of&nbsp;sequences&nbsp;(a1,&nbsp;a2,&nbsp;...)&nbsp;are&nbsp;joined&nbsp;along&nbsp;the&nbsp;given&nbsp;axis<br>
(default&nbsp;is&nbsp;the&nbsp;first&nbsp;one)&nbsp;into&nbsp;a&nbsp;single&nbsp;numpy&nbsp;array.<br>
&nbsp;<br>
Example:<br>
&nbsp;<br>
&gt;&gt;&gt;&nbsp;<a href="#-concatenate">concatenate</a>(&nbsp;([0,1,2],&nbsp;[5,6,7])&nbsp;)<br>
<a href="#-array">array</a>([0,&nbsp;1,&nbsp;2,&nbsp;5,&nbsp;6,&nbsp;7])</tt></dd></dl>
 <dl><dt><a name="-cubeval"><strong>cubeval</strong></a>(x, y, coeff)</dt><dd><tt>Evaluate&nbsp;a&nbsp;cubic&nbsp;geometric&nbsp;distortion&nbsp;of&nbsp;the&nbsp;form&nbsp;used&nbsp;by&nbsp;drizzle,&nbsp;etc.</tt></dd></dl>
 <dl><dt><a name="-deg2rad"><strong>deg2rad</strong></a>(deg)</dt></dl>
 <dl><dt><a name="-digitize"><strong>digitize</strong></a>(...)</dt><dd><tt><a href="#-digitize">digitize</a>(x,bins)<br>
&nbsp;<br>
Return&nbsp;the&nbsp;index&nbsp;of&nbsp;the&nbsp;bin&nbsp;to&nbsp;which&nbsp;each&nbsp;value&nbsp;of&nbsp;x&nbsp;belongs.<br>
&nbsp;<br>
Each&nbsp;index&nbsp;i&nbsp;returned&nbsp;is&nbsp;such&nbsp;that&nbsp;bins[i-1]&nbsp;&lt;=&nbsp;x&nbsp;&lt;&nbsp;bins[i]&nbsp;if<br>
bins&nbsp;is&nbsp;monotonically&nbsp;increasing,&nbsp;or&nbsp;bins&nbsp;[i-1]&nbsp;&gt;&nbsp;x&nbsp;&gt;=&nbsp;bins[i]&nbsp;if<br>
bins&nbsp;is&nbsp;monotonically&nbsp;decreasing.<br>
&nbsp;<br>
Beyond&nbsp;the&nbsp;bounds&nbsp;of&nbsp;the&nbsp;bins&nbsp;0&nbsp;or&nbsp;len(bins)&nbsp;is&nbsp;returned&nbsp;as&nbsp;appropriate.</tt></dd></dl>
 <dl><dt><a name="-dot"><strong>dot</strong></a>(...)</dt></dl>
 <dl><dt><a name="-empty"><strong>empty</strong></a>(...)</dt><dd><tt><a href="#-empty">empty</a>((d1,...,dn),dtype=float,order='C')<br>
&nbsp;<br>
Return&nbsp;a&nbsp;new&nbsp;array&nbsp;of&nbsp;shape&nbsp;(d1,...,dn)&nbsp;and&nbsp;given&nbsp;type&nbsp;with&nbsp;all&nbsp;its<br>
entries&nbsp;uninitialized.&nbsp;This&nbsp;can&nbsp;be&nbsp;faster&nbsp;than&nbsp;zeros.</tt></dd></dl>
 <dl><dt><a name="-fastCopyAndTranspose"><strong>fastCopyAndTranspose</strong></a> = _fastCopyAndTranspose(...)</dt><dd><tt>_fastCopyAndTranspose(a)</tt></dd></dl>
 <dl><dt><a name="-frombuffer"><strong>frombuffer</strong></a>(...)</dt><dd><tt><a href="#-frombuffer">frombuffer</a>(buffer=,&nbsp;dtype=float,&nbsp;count=-1,&nbsp;offset=0)<br>
&nbsp;<br>
Returns&nbsp;a&nbsp;1-d&nbsp;array&nbsp;of&nbsp;data&nbsp;type&nbsp;dtype&nbsp;from&nbsp;buffer.&nbsp;The&nbsp;buffer<br>
argument&nbsp;must&nbsp;be&nbsp;an&nbsp;object&nbsp;that&nbsp;exposes&nbsp;the&nbsp;buffer&nbsp;interface.&nbsp;&nbsp;If<br>
count&nbsp;is&nbsp;-1&nbsp;then&nbsp;the&nbsp;entire&nbsp;buffer&nbsp;is&nbsp;used,&nbsp;otherwise,&nbsp;count&nbsp;is&nbsp;the<br>
size&nbsp;of&nbsp;the&nbsp;output.&nbsp;&nbsp;If&nbsp;offset&nbsp;is&nbsp;given&nbsp;then&nbsp;jump&nbsp;that&nbsp;far&nbsp;into&nbsp;the<br>
buffer.&nbsp;If&nbsp;the&nbsp;buffer&nbsp;has&nbsp;data&nbsp;that&nbsp;is&nbsp;out&nbsp;not&nbsp;in&nbsp;machine&nbsp;byte-order,<br>
than&nbsp;use&nbsp;a&nbsp;propert&nbsp;data&nbsp;type&nbsp;descriptor.&nbsp;The&nbsp;data&nbsp;will&nbsp;not&nbsp;be<br>
byteswapped,&nbsp;but&nbsp;the&nbsp;array&nbsp;will&nbsp;manage&nbsp;it&nbsp;in&nbsp;future&nbsp;operations.</tt></dd></dl>
 <dl><dt><a name="-fromfile"><strong>fromfile</strong></a>(...)</dt><dd><tt><a href="#-fromfile">fromfile</a>(file=,&nbsp;dtype=float,&nbsp;count=-1,&nbsp;sep='')&nbsp;-&gt;&nbsp;array.<br>
&nbsp;<br>
Required&nbsp;arguments:<br>
&nbsp;&nbsp;&nbsp;&nbsp;file&nbsp;--&nbsp;open&nbsp;file&nbsp;object&nbsp;or&nbsp;string&nbsp;containing&nbsp;file&nbsp;name.<br>
&nbsp;<br>
Keyword&nbsp;arguments:<br>
&nbsp;&nbsp;&nbsp;&nbsp;dtype&nbsp;--&nbsp;type&nbsp;and&nbsp;order&nbsp;of&nbsp;the&nbsp;returned&nbsp;array&nbsp;(default&nbsp;float)<br>
&nbsp;&nbsp;&nbsp;&nbsp;count&nbsp;--&nbsp;number&nbsp;of&nbsp;items&nbsp;to&nbsp;input&nbsp;(default&nbsp;all)<br>
&nbsp;&nbsp;&nbsp;&nbsp;sep&nbsp;--&nbsp;separater&nbsp;between&nbsp;items&nbsp;if&nbsp;file&nbsp;is&nbsp;a&nbsp;text&nbsp;file&nbsp;(default&nbsp;"")<br>
&nbsp;<br>
Return&nbsp;an&nbsp;array&nbsp;of&nbsp;the&nbsp;given&nbsp;data&nbsp;type&nbsp;from&nbsp;a&nbsp;text&nbsp;or&nbsp;binary&nbsp;file.&nbsp;The<br>
'file'&nbsp;argument&nbsp;can&nbsp;be&nbsp;an&nbsp;open&nbsp;file&nbsp;or&nbsp;a&nbsp;string&nbsp;with&nbsp;the&nbsp;name&nbsp;of&nbsp;a&nbsp;file&nbsp;to<br>
read&nbsp;from.&nbsp;&nbsp;If&nbsp;'count'&nbsp;==&nbsp;-1&nbsp;the&nbsp;entire&nbsp;file&nbsp;is&nbsp;read,&nbsp;otherwise&nbsp;count&nbsp;is&nbsp;the<br>
number&nbsp;of&nbsp;items&nbsp;of&nbsp;the&nbsp;given&nbsp;type&nbsp;to&nbsp;read&nbsp;in.&nbsp;&nbsp;If&nbsp;'sep'&nbsp;is&nbsp;""&nbsp;it&nbsp;means&nbsp;to<br>
read&nbsp;binary&nbsp;data&nbsp;from&nbsp;the&nbsp;file&nbsp;using&nbsp;the&nbsp;specified&nbsp;dtype,&nbsp;otherwise&nbsp;it&nbsp;gives<br>
the&nbsp;separator&nbsp;between&nbsp;elements&nbsp;in&nbsp;a&nbsp;text&nbsp;file.&nbsp;The&nbsp;'dtype'&nbsp;value&nbsp;is&nbsp;also<br>
used&nbsp;to&nbsp;determine&nbsp;the&nbsp;size&nbsp;and&nbsp;order&nbsp;of&nbsp;the&nbsp;items&nbsp;in&nbsp;binary&nbsp;files.<br>
&nbsp;<br>
&nbsp;<br>
Data&nbsp;written&nbsp;using&nbsp;the&nbsp;tofile()&nbsp;method&nbsp;can&nbsp;be&nbsp;conveniently&nbsp;recovered&nbsp;using<br>
this&nbsp;function.<br>
&nbsp;<br>
WARNING:&nbsp;This&nbsp;function&nbsp;should&nbsp;be&nbsp;used&nbsp;sparingly&nbsp;as&nbsp;the&nbsp;binary&nbsp;files&nbsp;are&nbsp;not<br>
platform&nbsp;independent.&nbsp;In&nbsp;particular,&nbsp;they&nbsp;contain&nbsp;no&nbsp;endianess&nbsp;or&nbsp;datatype<br>
information.&nbsp;Nevertheless&nbsp;it&nbsp;can&nbsp;be&nbsp;useful&nbsp;for&nbsp;reading&nbsp;in&nbsp;simply&nbsp;formatted<br>
or&nbsp;binary&nbsp;data&nbsp;quickly.</tt></dd></dl>
 <dl><dt><a name="-fromiter"><strong>fromiter</strong></a>(...)</dt><dd><tt><a href="#-fromiter">fromiter</a>(iterable,&nbsp;dtype,&nbsp;count=-1)<br>
&nbsp;<br>
Return&nbsp;a&nbsp;new&nbsp;1d&nbsp;array&nbsp;initialized&nbsp;from&nbsp;iterable.&nbsp;If&nbsp;count&nbsp;is<br>
nonegative,&nbsp;the&nbsp;new&nbsp;array&nbsp;will&nbsp;have&nbsp;count&nbsp;elements,&nbsp;otherwise&nbsp;it's<br>
size&nbsp;is&nbsp;determined&nbsp;by&nbsp;the&nbsp;generator.</tt></dd></dl>
 <dl><dt><a name="-frompyfunc"><strong>frompyfunc</strong></a>(...)</dt><dd><tt><a href="#-frompyfunc">frompyfunc</a>(func,&nbsp;nin,&nbsp;nout)&nbsp;take&nbsp;an&nbsp;arbitrary&nbsp;python&nbsp;function&nbsp;that&nbsp;takes&nbsp;nin&nbsp;objects&nbsp;as&nbsp;input&nbsp;and&nbsp;returns&nbsp;nout&nbsp;objects&nbsp;and&nbsp;return&nbsp;a&nbsp;universal&nbsp;function&nbsp;(ufunc).&nbsp;&nbsp;This&nbsp;ufunc&nbsp;always&nbsp;returns&nbsp;PyObject&nbsp;arrays</tt></dd></dl>
 <dl><dt><a name="-fromstring"><strong>fromstring</strong></a>(...)</dt><dd><tt><a href="#-fromstring">fromstring</a>(string,&nbsp;dtype=float,&nbsp;count=-1,&nbsp;sep='')<br>
&nbsp;<br>
Return&nbsp;a&nbsp;new&nbsp;1d&nbsp;array&nbsp;initialized&nbsp;from&nbsp;the&nbsp;raw&nbsp;binary&nbsp;data&nbsp;in&nbsp;string.<br>
&nbsp;<br>
If&nbsp;count&nbsp;is&nbsp;positive,&nbsp;the&nbsp;new&nbsp;array&nbsp;will&nbsp;have&nbsp;count&nbsp;elements,&nbsp;otherwise&nbsp;its<br>
size&nbsp;is&nbsp;determined&nbsp;by&nbsp;the&nbsp;size&nbsp;of&nbsp;string.&nbsp;&nbsp;If&nbsp;sep&nbsp;is&nbsp;not&nbsp;empty&nbsp;then&nbsp;the<br>
string&nbsp;is&nbsp;interpreted&nbsp;in&nbsp;ASCII&nbsp;mode&nbsp;and&nbsp;converted&nbsp;to&nbsp;the&nbsp;desired&nbsp;number&nbsp;type<br>
using&nbsp;sep&nbsp;as&nbsp;the&nbsp;separator&nbsp;between&nbsp;elements&nbsp;(extra&nbsp;whitespace&nbsp;is&nbsp;ignored).</tt></dd></dl>
 <dl><dt><a name="-getbuffer"><strong>getbuffer</strong></a>(...)</dt><dd><tt><a href="#-getbuffer">getbuffer</a>(obj&nbsp;[,offset[,&nbsp;size]])<br>
&nbsp;<br>
Create&nbsp;a&nbsp;buffer&nbsp;object&nbsp;from&nbsp;the&nbsp;given&nbsp;object&nbsp;referencing&nbsp;a&nbsp;slice&nbsp;of<br>
length&nbsp;size&nbsp;starting&nbsp;at&nbsp;offset.&nbsp;&nbsp;Default&nbsp;is&nbsp;the&nbsp;entire&nbsp;buffer.&nbsp;A<br>
read-write&nbsp;buffer&nbsp;is&nbsp;attempted&nbsp;followed&nbsp;by&nbsp;a&nbsp;read-only&nbsp;buffer.</tt></dd></dl>
 <dl><dt><a name="-geterrobj"><strong>geterrobj</strong></a>(...)</dt></dl>
 <dl><dt><a name="-inner"><strong>inner</strong></a>(...)</dt><dd><tt><a href="#-inner">inner</a>(a,b)<br>
&nbsp;<br>
Returns&nbsp;the&nbsp;dot&nbsp;product&nbsp;of&nbsp;two&nbsp;arrays,&nbsp;which&nbsp;has&nbsp;shape&nbsp;a.shape[:-1]&nbsp;+<br>
b.shape[:-1]&nbsp;with&nbsp;elements&nbsp;computed&nbsp;by&nbsp;the&nbsp;product&nbsp;of&nbsp;the&nbsp;elements<br>
from&nbsp;the&nbsp;last&nbsp;dimensions&nbsp;of&nbsp;a&nbsp;and&nbsp;b.</tt></dd></dl>
 <dl><dt><a name="-int_asbuffer"><strong>int_asbuffer</strong></a>(...)</dt></dl>
 <dl><dt><a name="-interp"><strong>interp</strong></a>(...)</dt><dd><tt><a href="#-interp">interp</a>(x,&nbsp;xp,&nbsp;fp,&nbsp;left=None,&nbsp;right=None)<br>
&nbsp;<br>
Return&nbsp;the&nbsp;value&nbsp;of&nbsp;a&nbsp;piecewise-linear&nbsp;function&nbsp;at&nbsp;each&nbsp;value&nbsp;in&nbsp;x.<br>
&nbsp;<br>
The&nbsp;piecewise-linear&nbsp;function,&nbsp;f,&nbsp;is&nbsp;defined&nbsp;by&nbsp;the&nbsp;known&nbsp;data-points&nbsp;fp=f(xp).<br>
The&nbsp;xp&nbsp;points&nbsp;must&nbsp;be&nbsp;sorted&nbsp;in&nbsp;increasing&nbsp;order&nbsp;but&nbsp;this&nbsp;is&nbsp;not&nbsp;checked.<br>
&nbsp;<br>
For&nbsp;values&nbsp;of&nbsp;x&nbsp;&lt;&nbsp;xp[0]&nbsp;return&nbsp;the&nbsp;value&nbsp;given&nbsp;by&nbsp;left.&nbsp;&nbsp;If&nbsp;left&nbsp;is&nbsp;None,&nbsp;then<br>
return&nbsp;fp[0].<br>
For&nbsp;values&nbsp;of&nbsp;x&nbsp;&gt;&nbsp;xp[-1]&nbsp;return&nbsp;the&nbsp;value&nbsp;given&nbsp;by&nbsp;right.&nbsp;If&nbsp;right&nbsp;is&nbsp;None,&nbsp;then<br>
return&nbsp;fp[-1].</tt></dd></dl>
 <dl><dt><a name="-lexsort"><strong>lexsort</strong></a>(...)</dt><dd><tt><a href="#-lexsort">lexsort</a>(keys=,&nbsp;axis=-1)&nbsp;-&gt;&nbsp;array&nbsp;of&nbsp;indices.&nbsp;Argsort&nbsp;with&nbsp;list&nbsp;of&nbsp;keys.<br>
&nbsp;<br>
Perform&nbsp;an&nbsp;indirect&nbsp;sort&nbsp;using&nbsp;a&nbsp;list&nbsp;of&nbsp;keys.&nbsp;The&nbsp;first&nbsp;key&nbsp;is&nbsp;sorted,<br>
then&nbsp;the&nbsp;second,&nbsp;and&nbsp;so&nbsp;on&nbsp;through&nbsp;the&nbsp;list&nbsp;of&nbsp;keys.&nbsp;At&nbsp;each&nbsp;step&nbsp;the<br>
previous&nbsp;order&nbsp;is&nbsp;preserved&nbsp;when&nbsp;equal&nbsp;keys&nbsp;are&nbsp;encountered.&nbsp;The&nbsp;result&nbsp;is<br>
a&nbsp;sort&nbsp;on&nbsp;multiple&nbsp;keys.&nbsp;&nbsp;If&nbsp;the&nbsp;keys&nbsp;represented&nbsp;columns&nbsp;of&nbsp;a&nbsp;spreadsheet,<br>
for&nbsp;example,&nbsp;this&nbsp;would&nbsp;sort&nbsp;using&nbsp;multiple&nbsp;columns&nbsp;(the&nbsp;last&nbsp;key&nbsp;being<br>
used&nbsp;for&nbsp;the&nbsp;primary&nbsp;sort&nbsp;order,&nbsp;the&nbsp;second-to-last&nbsp;key&nbsp;for&nbsp;the&nbsp;secondary<br>
sort&nbsp;order,&nbsp;and&nbsp;so&nbsp;on).&nbsp;&nbsp;The&nbsp;keys&nbsp;argument&nbsp;must&nbsp;be&nbsp;a&nbsp;sequence&nbsp;of&nbsp;things<br>
that&nbsp;can&nbsp;be&nbsp;converted&nbsp;to&nbsp;arrays&nbsp;of&nbsp;the&nbsp;same&nbsp;shape.<br>
&nbsp;<br>
:Parameters:<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;a&nbsp;:&nbsp;array&nbsp;type<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Array&nbsp;containing&nbsp;values&nbsp;that&nbsp;the&nbsp;returned&nbsp;indices&nbsp;should&nbsp;sort.<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;axis&nbsp;:&nbsp;integer<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Axis&nbsp;to&nbsp;be&nbsp;indirectly&nbsp;sorted.&nbsp;None&nbsp;indicates&nbsp;that&nbsp;the&nbsp;flattened<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;array&nbsp;should&nbsp;be&nbsp;used.&nbsp;Default&nbsp;is&nbsp;-1.<br>
&nbsp;<br>
:Returns:<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;indices&nbsp;:&nbsp;integer&nbsp;array<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Array&nbsp;of&nbsp;indices&nbsp;that&nbsp;sort&nbsp;the&nbsp;keys&nbsp;along&nbsp;the&nbsp;specified&nbsp;axis.&nbsp;The<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;array&nbsp;has&nbsp;the&nbsp;same&nbsp;shape&nbsp;as&nbsp;the&nbsp;keys.<br>
&nbsp;<br>
:SeeAlso:<br>
&nbsp;<br>
&nbsp;&nbsp;-&nbsp;argsort&nbsp;:&nbsp;indirect&nbsp;sort<br>
&nbsp;&nbsp;-&nbsp;sort&nbsp;:&nbsp;inplace&nbsp;sort</tt></dd></dl>
 <dl><dt><a name="-loads"><strong>loads</strong></a>(...)</dt><dd><tt><a href="#-loads">loads</a>(string)&nbsp;--&nbsp;Load&nbsp;a&nbsp;pickle&nbsp;from&nbsp;the&nbsp;given&nbsp;string</tt></dd></dl>
 <dl><dt><a name="-newbuffer"><strong>newbuffer</strong></a>(...)</dt><dd><tt><a href="#-newbuffer">newbuffer</a>(size)<br>
&nbsp;<br>
Return&nbsp;a&nbsp;new&nbsp;uninitialized&nbsp;buffer&nbsp;object&nbsp;of&nbsp;size&nbsp;bytes</tt></dd></dl>
 <dl><dt><a name="-putmask"><strong>putmask</strong></a>(...)</dt><dd><tt><a href="#-putmask">putmask</a>(a,&nbsp;mask,&nbsp;values)&nbsp;sets&nbsp;a.flat[n]&nbsp;=&nbsp;values[n]&nbsp;for&nbsp;each&nbsp;n&nbsp;where<br>
mask.flat[n]&nbsp;is&nbsp;true.&nbsp;&nbsp;If&nbsp;values&nbsp;is&nbsp;not&nbsp;the&nbsp;same&nbsp;size&nbsp;of&nbsp;a&nbsp;and&nbsp;mask&nbsp;then<br>
it&nbsp;will&nbsp;repeat.&nbsp;&nbsp;This&nbsp;gives&nbsp;different&nbsp;behavior&nbsp;than&nbsp;a[mask]&nbsp;=&nbsp;values.</tt></dd></dl>
 <dl><dt><a name="-rad2deg"><strong>rad2deg</strong></a>(rad)</dt></dl>
 <dl><dt><a name="-set_numeric_ops"><strong>set_numeric_ops</strong></a>(...)</dt><dd><tt><a href="#-set_numeric_ops">set_numeric_ops</a>(op=func,&nbsp;...)<br>
&nbsp;<br>
Set&nbsp;some&nbsp;or&nbsp;all&nbsp;of&nbsp;the&nbsp;number&nbsp;methods&nbsp;for&nbsp;all&nbsp;array&nbsp;objects.&nbsp;&nbsp;Do&nbsp;not<br>
forget&nbsp;**dict&nbsp;can&nbsp;be&nbsp;used&nbsp;as&nbsp;the&nbsp;argument&nbsp;list.&nbsp;&nbsp;Return&nbsp;the&nbsp;functions<br>
that&nbsp;were&nbsp;replaced,&nbsp;which&nbsp;can&nbsp;be&nbsp;stored&nbsp;and&nbsp;set&nbsp;later.</tt></dd></dl>
 <dl><dt><a name="-set_string_function"><strong>set_string_function</strong></a>(...)</dt><dd><tt><a href="#-set_string_function">set_string_function</a>(f,&nbsp;repr=1)<br>
&nbsp;<br>
Set&nbsp;the&nbsp;python&nbsp;function&nbsp;f&nbsp;to&nbsp;be&nbsp;the&nbsp;function&nbsp;used&nbsp;to&nbsp;obtain&nbsp;a&nbsp;pretty<br>
printable&nbsp;string&nbsp;version&nbsp;of&nbsp;an&nbsp;array&nbsp;whenever&nbsp;an&nbsp;array&nbsp;is&nbsp;printed.<br>
f(M)&nbsp;should&nbsp;expect&nbsp;an&nbsp;array&nbsp;argument&nbsp;M,&nbsp;and&nbsp;should&nbsp;return&nbsp;a&nbsp;string<br>
consisting&nbsp;of&nbsp;the&nbsp;desired&nbsp;representation&nbsp;of&nbsp;M&nbsp;for&nbsp;printing.</tt></dd></dl>
 <dl><dt><a name="-seterrobj"><strong>seterrobj</strong></a>(...)</dt></dl>
 <dl><dt><a name="-sgn"><strong>sgn</strong></a>(x)</dt></dl>
 <dl><dt><a name="-where"><strong>where</strong></a>(...)</dt><dd><tt><a href="#-where">where</a>(condition,&nbsp;|&nbsp;x,&nbsp;y)<br>
&nbsp;<br>
The&nbsp;result&nbsp;is&nbsp;shaped&nbsp;like&nbsp;condition&nbsp;and&nbsp;has&nbsp;elements&nbsp;of&nbsp;x&nbsp;and&nbsp;y&nbsp;where<br>
condition&nbsp;is&nbsp;respectively&nbsp;true&nbsp;or&nbsp;false.&nbsp;&nbsp;If&nbsp;x&nbsp;or&nbsp;y&nbsp;are&nbsp;not&nbsp;given,<br>
then&nbsp;it&nbsp;is&nbsp;equivalent&nbsp;to&nbsp;condition.nonzero().<br>
&nbsp;<br>
To&nbsp;group&nbsp;the&nbsp;indices&nbsp;by&nbsp;element,&nbsp;rather&nbsp;than&nbsp;dimension,&nbsp;use<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;transpose(<a href="#-where">where</a>(condition,&nbsp;|&nbsp;x,&nbsp;y))<br>
&nbsp;<br>
instead.&nbsp;This&nbsp;always&nbsp;results&nbsp;in&nbsp;a&nbsp;2d&nbsp;array,&nbsp;with&nbsp;a&nbsp;row&nbsp;of&nbsp;indices&nbsp;for<br>
each&nbsp;element&nbsp;that&nbsp;satisfies&nbsp;the&nbsp;condition.</tt></dd></dl>
 <dl><dt><a name="-zeros"><strong>zeros</strong></a>(...)</dt><dd><tt><a href="#-zeros">zeros</a>((d1,...,dn),dtype=float,order='C')<br>
&nbsp;<br>
Return&nbsp;a&nbsp;new&nbsp;array&nbsp;of&nbsp;shape&nbsp;(d1,...,dn)&nbsp;and&nbsp;type&nbsp;typecode&nbsp;with&nbsp;all<br>
it's&nbsp;entries&nbsp;initialized&nbsp;to&nbsp;zero.</tt></dd></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>ALLOW_THREADS</strong> = 1<br>
<strong>BUFSIZE</strong> = 10000<br>
<strong>CLIP</strong> = 0<br>
<strong>ERR_CALL</strong> = 3<br>
<strong>ERR_DEFAULT</strong> = 0<br>
<strong>ERR_DEFAULT2</strong> = 2084<br>
<strong>ERR_IGNORE</strong> = 0<br>
<strong>ERR_LOG</strong> = 5<br>
<strong>ERR_PRINT</strong> = 4<br>
<strong>ERR_RAISE</strong> = 2<br>
<strong>ERR_WARN</strong> = 1<br>
<strong>FLOATING_POINT_SUPPORT</strong> = 1<br>
<strong>FPE_DIVIDEBYZERO</strong> = 1<br>
<strong>FPE_INVALID</strong> = 8<br>
<strong>FPE_OVERFLOW</strong> = 2<br>
<strong>FPE_UNDERFLOW</strong> = 4<br>
<strong>False_</strong> = False<br>
<strong>Inf</strong> = inf<br>
<strong>Infinity</strong> = inf<br>
<strong>MAXDIMS</strong> = 32<br>
<strong>NAN</strong> = nan<br>
<strong>NINF</strong> = -inf<br>
<strong>NZERO</strong> = -0.0<br>
<strong>NaN</strong> = nan<br>
<strong>PINF</strong> = inf<br>
<strong>PZERO</strong> = 0.0<br>
<strong>RAISE</strong> = 2<br>
<strong>SHIFT_DIVIDEBYZERO</strong> = 0<br>
<strong>SHIFT_INVALID</strong> = 9<br>
<strong>SHIFT_OVERFLOW</strong> = 3<br>
<strong>SHIFT_UNDERFLOW</strong> = 6<br>
<strong>ScalarType</strong> = (&lt;type 'int'&gt;, &lt;type 'float'&gt;, &lt;type 'complex'&gt;, &lt;type 'long'&gt;, &lt;type 'bool'&gt;, &lt;type 'str'&gt;, &lt;type 'unicode'&gt;, &lt;type 'buffer'&gt;, &lt;type 'numpy.int64'&gt;, &lt;type 'numpy.int16'&gt;, &lt;type 'numpy.uint32'&gt;, &lt;type 'numpy.unicode_'&gt;, &lt;type 'numpy.void'&gt;, &lt;type 'numpy.complex192'&gt;, &lt;type 'numpy.complex128'&gt;, &lt;type 'numpy.uint64'&gt;, &lt;type 'numpy.int32'&gt;, &lt;type 'numpy.int8'&gt;, &lt;type 'numpy.float32'&gt;, &lt;type 'numpy.float64'&gt;, ...)<br>
<strong>True_</strong> = True<br>
<strong>UFUNC_BUFSIZE_DEFAULT</strong> = 10000<br>
<strong>UFUNC_PYVALS_NAME</strong> = 'UFUNC_PYVALS'<br>
<strong>WRAP</strong> = 1<br>
<strong>__version__</strong> = '1.0.3'<br>
<strong>__version_date__</strong> = '2002/09/10 23:23:56'<br>
<strong>absolute</strong> = &lt;ufunc 'absolute'&gt;<br>
<strong>add</strong> = &lt;ufunc 'add'&gt;<br>
<strong>arccos</strong> = &lt;ufunc 'arccos'&gt;<br>
<strong>arccosh</strong> = &lt;ufunc 'arccosh'&gt;<br>
<strong>arcsin</strong> = &lt;ufunc 'arcsin'&gt;<br>
<strong>arcsinh</strong> = &lt;ufunc 'arcsinh'&gt;<br>
<strong>arctan</strong> = &lt;ufunc 'arctan'&gt;<br>
<strong>arctan2</strong> = &lt;ufunc 'arctan2'&gt;<br>
<strong>arctanh</strong> = &lt;ufunc 'arctanh'&gt;<br>
<strong>basicWCSkeys</strong> = ['NAXIS1', 'NAXIS2', 'CTYPE1', 'CTYPE2', 'CRPIX1', 'CRPIX2', 'CRVAL1', 'CRVAL2', 'CD1_1', 'CD1_2', 'CD2_1', 'CD2_2', 'ORIENTAT']<br>
<strong>bitwise_and</strong> = &lt;ufunc 'bitwise_and'&gt;<br>
<strong>bitwise_not</strong> = &lt;ufunc 'invert'&gt;<br>
<strong>bitwise_or</strong> = &lt;ufunc 'bitwise_or'&gt;<br>
<strong>bitwise_xor</strong> = &lt;ufunc 'bitwise_xor'&gt;<br>
<strong>c_</strong> = &lt;numpy.lib.index_tricks.c_class object&gt;<br>
<strong>cast</strong> = {&lt;type 'numpy.int64'&gt;: &lt;function &lt;lambda&gt; at 0x4...py.unicode_'&gt;: &lt;function &lt;lambda&gt; at 0x4013d454&gt;}<br>
<strong>ceil</strong> = &lt;ufunc 'ceil'&gt;<br>
<strong>conj</strong> = &lt;ufunc 'conjugate'&gt;<br>
<strong>conjugate</strong> = &lt;ufunc 'conjugate'&gt;<br>
<strong>cos</strong> = &lt;ufunc 'cos'&gt;<br>
<strong>cosh</strong> = &lt;ufunc 'cosh'&gt;<br>
<strong>divide</strong> = &lt;ufunc 'divide'&gt;<br>
<strong>e</strong> = 2.7182818284590451<br>
<strong>equal</strong> = &lt;ufunc 'equal'&gt;<br>
<strong>exp</strong> = &lt;ufunc 'exp'&gt;<br>
<strong>expm1</strong> = &lt;ufunc 'expm1'&gt;<br>
<strong>fabs</strong> = &lt;ufunc 'fabs'&gt;<br>
<strong>floor</strong> = &lt;ufunc 'floor'&gt;<br>
<strong>floor_divide</strong> = &lt;ufunc 'floor_divide'&gt;<br>
<strong>fmod</strong> = &lt;ufunc 'fmod'&gt;<br>
<strong>frexp</strong> = &lt;ufunc 'frexp'&gt;<br>
<strong>greater</strong> = &lt;ufunc 'greater'&gt;<br>
<strong>greater_equal</strong> = &lt;ufunc 'greater_equal'&gt;<br>
<strong>hypot</strong> = &lt;ufunc 'hypot'&gt;<br>
<strong>index_exp</strong> = &lt;numpy.lib.index_tricks._index_expression_class object&gt;<br>
<strong>inf</strong> = inf<br>
<strong>infty</strong> = inf<br>
<strong>invert</strong> = &lt;ufunc 'invert'&gt;<br>
<strong>isfinite</strong> = &lt;ufunc 'isfinite'&gt;<br>
<strong>isinf</strong> = &lt;ufunc 'isinf'&gt;<br>
<strong>isnan</strong> = &lt;ufunc 'isnan'&gt;<br>
<strong>ldexp</strong> = &lt;ufunc 'ldexp'&gt;<br>
<strong>left_shift</strong> = &lt;ufunc 'left_shift'&gt;<br>
<strong>less</strong> = &lt;ufunc 'less'&gt;<br>
<strong>less_equal</strong> = &lt;ufunc 'less_equal'&gt;<br>
<strong>little_endian</strong> = True<br>
<strong>log</strong> = &lt;ufunc 'log'&gt;<br>
<strong>log10</strong> = &lt;ufunc 'log10'&gt;<br>
<strong>log1p</strong> = &lt;ufunc 'log1p'&gt;<br>
<strong>logical_and</strong> = &lt;ufunc 'logical_and'&gt;<br>
<strong>logical_not</strong> = &lt;ufunc 'logical_not'&gt;<br>
<strong>logical_or</strong> = &lt;ufunc 'logical_or'&gt;<br>
<strong>logical_xor</strong> = &lt;ufunc 'logical_xor'&gt;<br>
<strong>maximum</strong> = &lt;ufunc 'maximum'&gt;<br>
<strong>mgrid</strong> = &lt;numpy.lib.index_tricks.nd_grid object&gt;<br>
<strong>minimum</strong> = &lt;ufunc 'minimum'&gt;<br>
<strong>mod</strong> = &lt;ufunc 'remainder'&gt;<br>
<strong>modf</strong> = &lt;ufunc 'modf'&gt;<br>
<strong>multiply</strong> = &lt;ufunc 'multiply'&gt;<br>
<strong>nan</strong> = nan<br>
<strong>nbytes</strong> = {&lt;type 'numpy.int64'&gt;: 8, &lt;type 'numpy.int16'&gt;: ...type 'numpy.uint32'&gt;: 4, &lt;type 'numpy.int32'&gt;: 4}<br>
<strong>negative</strong> = &lt;ufunc 'negative'&gt;<br>
<strong>newaxis</strong> = None<br>
<strong>no</strong> = 0<br>
<strong>not_equal</strong> = &lt;ufunc 'not_equal'&gt;<br>
<strong>ogrid</strong> = &lt;numpy.lib.index_tricks.nd_grid object&gt;<br>
<strong>ones_like</strong> = &lt;ufunc 'ones_like'&gt;<br>
<strong>pi</strong> = 3.1415926535897931<br>
<strong>power</strong> = &lt;ufunc 'power'&gt;<br>
<strong>r_</strong> = &lt;numpy.lib.index_tricks.r_class object&gt;<br>
<strong>reciprocal</strong> = &lt;ufunc 'reciprocal'&gt;<br>
<strong>remainder</strong> = &lt;ufunc 'remainder'&gt;<br>
<strong>right_shift</strong> = &lt;ufunc 'right_shift'&gt;<br>
<strong>rint</strong> = &lt;ufunc 'rint'&gt;<br>
<strong>s_</strong> = &lt;numpy.lib.index_tricks._index_expression_class object&gt;<br>
<strong>sctypeDict</strong> = {0: &lt;type 'numpy.bool_'&gt;, 1: &lt;type 'numpy.int8'&gt;, 2: &lt;type 'numpy.uint8'&gt;, 3: &lt;type 'numpy.int16'&gt;, 4: &lt;type 'numpy.uint16'&gt;, 5: &lt;type 'numpy.int32'&gt;, 6: &lt;type 'numpy.uint32'&gt;, 7: &lt;type 'numpy.int32'&gt;, 8: &lt;type 'numpy.uint32'&gt;, 9: &lt;type 'numpy.int64'&gt;, ...}<br>
<strong>sctypeNA</strong> = {'?': 'Bool', 'B': 'UInt8', 'Bool': &lt;type 'numpy.bool_'&gt;, 'Complex32': &lt;type 'numpy.complex64'&gt;, 'Complex64': &lt;type 'numpy.complex128'&gt;, 'Complex96': &lt;type 'numpy.complex192'&gt;, 'D': 'Complex64', 'F': 'Complex32', 'Float32': &lt;type 'numpy.float32'&gt;, 'Float64': &lt;type 'numpy.float64'&gt;, ...}<br>
<strong>sctypes</strong> = {'complex': [&lt;type 'numpy.complex64'&gt;, &lt;type 'numpy.complex128'&gt;, &lt;type 'numpy.complex192'&gt;], 'float': [&lt;type 'numpy.float32'&gt;, &lt;type 'numpy.float64'&gt;, &lt;type 'numpy.float96'&gt;], 'int': [&lt;type 'numpy.int8'&gt;, &lt;type 'numpy.int16'&gt;, &lt;type 'numpy.int32'&gt;, &lt;type 'numpy.int32'&gt;, &lt;type 'numpy.int64'&gt;], 'others': [&lt;type 'bool'&gt;, &lt;type 'object'&gt;, &lt;type 'str'&gt;, &lt;type 'unicode'&gt;, &lt;type 'numpy.void'&gt;], 'uint': [&lt;type 'numpy.uint8'&gt;, &lt;type 'numpy.uint16'&gt;, &lt;type 'numpy.uint32'&gt;, &lt;type 'numpy.uint32'&gt;, &lt;type 'numpy.uint64'&gt;]}<br>
<strong>sign</strong> = &lt;ufunc 'sign'&gt;<br>
<strong>signbit</strong> = &lt;ufunc 'signbit'&gt;<br>
<strong>sin</strong> = &lt;ufunc 'sin'&gt;<br>
<strong>sinh</strong> = &lt;ufunc 'sinh'&gt;<br>
<strong>sqrt</strong> = &lt;ufunc 'sqrt'&gt;<br>
<strong>square</strong> = &lt;ufunc 'square'&gt;<br>
<strong>subtract</strong> = &lt;ufunc 'subtract'&gt;<br>
<strong>tan</strong> = &lt;ufunc 'tan'&gt;<br>
<strong>tanh</strong> = &lt;ufunc 'tanh'&gt;<br>
<strong>true_divide</strong> = &lt;ufunc 'true_divide'&gt;<br>
<strong>typeDict</strong> = {0: &lt;type 'numpy.bool_'&gt;, 1: &lt;type 'numpy.int8'&gt;, 2: &lt;type 'numpy.uint8'&gt;, 3: &lt;type 'numpy.int16'&gt;, 4: &lt;type 'numpy.uint16'&gt;, 5: &lt;type 'numpy.int32'&gt;, 6: &lt;type 'numpy.uint32'&gt;, 7: &lt;type 'numpy.int32'&gt;, 8: &lt;type 'numpy.uint32'&gt;, 9: &lt;type 'numpy.int64'&gt;, ...}<br>
<strong>typeNA</strong> = {'?': 'Bool', 'B': 'UInt8', 'Bool': &lt;type 'numpy.bool_'&gt;, 'Complex32': &lt;type 'numpy.complex64'&gt;, 'Complex64': &lt;type 'numpy.complex128'&gt;, 'Complex96': &lt;type 'numpy.complex192'&gt;, 'D': 'Complex64', 'F': 'Complex32', 'Float32': &lt;type 'numpy.float32'&gt;, 'Float64': &lt;type 'numpy.float64'&gt;, ...}<br>
<strong>typecodes</strong> = {'All': '?bhilqpBHILQPfdgFDGSUVO', 'AllFloat': 'fdgFDG', 'AllInteger': 'bBhHiIlLqQpP', 'Character': 'S1', 'Complex': 'FDG', 'Float': 'fdg', 'Integer': 'bhilqp', 'UnsignedInteger': 'BHILQP'}<br>
<strong>yes</strong> = 1</td></tr></table>
</body></html>